package com.neuedu.nep.dao;

import com.neuedu.nep.vo.FeedBackInfoVO;
import com.neuedu.nep.vo.ShowFeedbackVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 黄宇佳
 * @create 2024-04-10 18:32
 * @description:
 */
public interface AqiFeedbackMapper {
    List<ShowFeedbackVO> pageFeedbackVO(@Param("pageSize")Integer pageSize,
                                        @Param("lastItemId")Integer lastItemid,
                                        @Param("telId") String telId);

    List<ShowFeedbackVO> pageFeedbackVOByGmId(@Param("pageSize")Integer pageSize,
                                        @Param("lastItemId")Integer lastItemid,
                                        @Param("gmId") Integer gmId);

    FeedBackInfoVO getFeedbackInfo(@Param("afId") Integer afId);

    List<ShowFeedbackVO> pageFeedbackVOForAdmin(
            @Param("provinceId") Integer provinceId,
            @Param("cityId") Integer cityId,
            @Param("estimatedGrade") Integer estimatedGrade,
            @Param("afDate") String afDate,
            @Param("state") Integer state,
            @Param("assignDate") String assignDate,
            @Param("limitParam1") Integer limitParam1,
            @Param("limitParam2") Integer limitParam2
    );
    Integer pageFeedbackVOForAdminCount(
            @Param("provinceId") Integer provinceId,
            @Param("cityId") Integer cityId,
            @Param("estimatedGrade") Integer estimatedGrade,
            @Param("afDate") String afDate,
            @Param("state") Integer state,
            @Param("assignDate") String assignDate
    );
}
